<div class="deal">
	<div class="deal_content_top"></div>
		<div class="deal_content">
		<h3>Thay đổi thông tin</h3>
		<?php if(count($this->errors) > 0 || count($this->notifies) > 0): ?>
			<div class="ui-widget">
				<div class="ui-state-highlight ui-corner-all" style="padding: 0 .7em;">
				<?php foreach($this->errors as $error): ?> 
					<p><span class="ui-icon ui-icon-alert" style="float: left; margin-right: .3em;"></span> 
					<?php echo $error ?></p>    
				<?php endforeach ?>
				<?php foreach($this->notifies as $notify): ?> 
					<p><span class="ui-icon ui-icon-alert" style="float: left; margin-right: .3em;"></span> 
					<?php echo $notify ?></p>    
				<?php endforeach ?>
				</div>
			</div>
		<?php endif ?>	
		<div class="profile">
				<div class="profile-left">
					<strong><?php echo $this->user->username ?></strong>
					<ul>
						<li><a href="<?php echo $this->baseUrl('index.php/user/account/edit') ?>">Sửa thông tin cá nhân</a></li>
						<li><a href="<?php echo $this->baseUrl('index.php/user/account/changepassword') ?>">Sửa mật khẩu</a></li>
						<li><a href="<?php echo $this->baseUrl('index.php/user/account/logout') ?>">Thoát</a></li>
					</ul>
				</div>
				<div class="profile-right">
				    <form id="login-form" action="<?php echo $this->url(array("module" => "user", "controller" => "account", "action" => "editpost")) ?>" method="post">    
				            <table width="100%" cellpadding="5">
				                <tr>
				                    <td width="50%"><strong>Tên truy cập</strong></td>
				                    <td><strong><?php echo $this->user->username ?></strong></td>
				                </tr>
				                <tr>
				                    <td><strong>Tên đầy đủ</strong></td>
				                    <td><?php echo $this->formText('fullname', $this->user->fullname, array()); ?></td>
				                </tr>
				                <tr>
				                    <td><strong>Email</strong></td>
				                    <td><strong><?php echo $this->user->email ?></strong></td>
				                </tr>				                			                
				                <tr>
				                    <td>&nbsp;</td>
				                    <td><?php echo $this->formSubmit('submit', 'Cập nhật', array('class'=>'blue_button')) ?></td>
				            </tr>
				        </table>
				    </form>
			    </div>
		    </div>
	</div>        
	<div class="deal_content_bottom"></div>
</div>
